package com.baiyue.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import com.baiyue.entity.Log;
import com.baiyue.entity.UsernameEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


/**
 * @author WuBo
 */
@Mapper
public interface LogMapper extends BaseMapper<Log> {
    /**
     * 查询所有
     *
     * @param page
     * @return 用户列表
     */
    List<Log> findAll(Log log,Pagination page);

    List<UsernameEntity> findLogUser();
}
